onInfo

open fun onInfo(mp: MediaPlayer, what: Int, extra: Int): Boolean

Called to communicate miscellaneous information or warnings during playback. Currently logs the information.

Return

true if the information has been handled, false otherwise. ExoPlayer provides more detailed analytics and state information through its Player.Listener.

Parameters

mp

The MediaPlayer providing the information.

what

The type of information or warning.

extra

An extra code, specific to the information.